import request from '@/utils/request'

// 查询交通网络分析服务版本列表
export function getNetworkVersionList(query){
    return request({
        url: "/hypergraph/getNetworkVersionList",
        method: "get",
        params:query
    });
}

// 工作空间发布交通网络分析服务
export function newWorkspaceNetworkVersion(data){
    return request({
        url: "/hypergraph/newWorkspaceNetworkVersion",
        method: "post",
        data: data
    });
}

// 批量逻辑删除交通网络分析服务版本列表
export function deleteNetworkanalystVersion(data){
    return request({
        url: "/hypergraph/deleteNetworkanalystVersion",
        method: "post",
        data: data
    });
}

// 网络拓扑计算功能失效等级
export function countNetworkanalyst(data){
    return request({
        url: "/hypergraph/countNetworkanalyst",
        method: "post",
        data: data
    });
}
